import java.util.Scanner;

public class TestCalculator {
    public static void main(String[] args) {
       Calculator f=new Calculator();
        f.brand="爱国者";
        f.color="蓝色";
        Scanner input=new Scanner(System.in);
        System.out.println("请输入两个整数");
        int a=input.nextInt();
        int b=input.nextInt();
        System.out.println("两个数之和为"+f.add(a,b));
        System.out.println("请输入两个数");
        double c=input.nextDouble();
        double d=input.nextDouble();
        System.out.println("两数之积为"+f.chen(c,d));


    }
}
